Intel VT-D: Don't turn x2APIC if there is a missing DRHD entry for the IOAPIC.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 9 Mar 2010 17:58:11 +0000 (17:58 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 9 Mar 2010 17:58:11 +0000 (17:58 +0000)
commit17795caf52a78c773e7ba5b914bb0579766f146a
tree976ac23ce79d53cf4652e905fd43ebe090750680
parentfcd0e226300c0bb0917fdf7c464157f31ab3b1be
Intel VT-D: Don't turn x2APIC if there is a missing DRHD entry for the IOAPIC.

Follow the Linux kernel lead in which the x2APIC is only turned on
only if there is an DRHD entry for all IOAPICs in the system. If we
don't do this we might enable x2APIC and see various devices not
covered by the IOAPIC mentioned in DRHD, not receive any interrupts.

From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/drivers/passthrough/vtd/intremap.c